##
## Makefile for bomberman in /home/lefebv_w//workspace/cpp/bomberman/tests/compil
## 
## Made by damien lefebvre
## Login   <lefebv_w@epitech.net>
## 
## Started on  Thu May  2 18:18:36 2013 damien lefebvre
## Last update Wed May  8 21:24:27 2013 damien lefebvre
##

NAME			=	bombermanTest
CC			=	g++
RM			=	rm -f

CFLAGS			=	-Wall -Wextra --pedantic -g
IFLAGS			=	-I../../libgdl/include
LFLAGS			=	-lm -L../../libgdl/lib -Wl,--rpath=../../libgdl/lib -lgdl_gl -lGL -lGLU

SRCS			=	main.cpp	\
				MyGame.cpp	\
				Vector3f.cpp	\
				Camera.cpp

OBJS			=	$(SRCS:.cpp=.o)

all			:	$(NAME)

$(NAME)			:	$(OBJS)
				$(CC) -o $(NAME) $(OBJS) $(CFLAGS) $(IFLAGS) $(LFLAGS)

%.o			:	%.cpp
				$(CC) -o $@ -c $< $(IFLAGS) $(CFLAGS)

clean			:
				$(RM) $(OBJS)

fclean			:	clean
				$(RM) $(NAME)

re			:	fclean all
